@model FormInputProject.Models.Point

@{
    ViewBag.Title = "Delete";
}

<h2>Delete</h2>

<h3>Are you sure you want to delete this?</h3>
<fieldset>
    <legend>Point</legend>

    <div class="display-label">PointName</div>
    <div class="display-field">@Model.PointName</div>

    <div class="display-label">PointDescription</div>
    <div class="display-field">@Model.PointDescription</div>

    <div class="display-label">Formula</div>
    <div class="display-field">@Model.Formula</div>

    <div class="display-label">CalculatePoint</div>
    <div class="display-field">@Model.CalculatePoint</div>

    <div class="display-label">Unit</div>
    <div class="display-field">@Model.Unit</div>

    <div class="display-label">Created</div>
    <div class="display-field">@String.Format("{0:g}", Model.Created)</div>

    <div class="display-label">Creator</div>
    <div class="display-field">@Html.DisplayTextFor(_ => Model.Creator).ToString()</div>

    <div class="display-label">Modified</div>
    <div class="display-field">@String.Format("{0:g}", Model.Modified)</div>

    <div class="display-label">ModifiedBy</div>
    <div class="display-field">@Html.DisplayTextFor(_ => Model.ModifiedBy).ToString()</div>
</fieldset>
@using (Html.BeginForm()) {
    <p>
        <input type="submit" value="Delete" /> |
        @Html.ActionLink("Back to List", "Index")
    </p>
}


